package com.ruoyi.project.warehouse.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 出入库审核对象 ry_depot_record_audit
 *
 * @author ruoyi
 * @date 2023-02-17
 */
public class RyDepotRecordAudit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 产品id */
    @Excel(name = "产品id")
    private Long inventoryId;

    /** 仓库id */
    @Excel(name = "仓库id")
    private Long depotId;

    /** 修改前产品数量 */
    @Excel(name = "修改前产品数量")
    private Double beforeNum;

    /** 修改后产品数量 */
    @Excel(name = "修改后产品数量")
    private Double afterNum;

    /** 出入库记录id */
    @Excel(name = "出入库记录id")
    private Long depotitemId;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Integer auditStatus;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date auditDate;

    /** 审核人id */
    @Excel(name = "审核人id")
    private Long auditorId;

    /** 修改前产品金额 */
    @Excel(name = "修改前产品金额")
    private BigDecimal beforeMoney;

    /** 修改后产品金额 */
    @Excel(name = "修改后产品金额")
    private BigDecimal afterMoney;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long creatorId;

    /** 出入库模块名 */
    @Excel(name = "出入库模块名")
    private String partName;

    /** 审核时备注*/
    @Excel(name = "审核时备注")
    private String auditRemark;

    /** 出库记录备注*/
    @Excel(name = "原出库记录备注")
    private String remark;

    /** 关联项目id */
    @Excel(name = "关联项目id")
    private Long projectId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getInventoryId() {
        return inventoryId;
    }

    public void setInventoryId(Long inventoryId) {
        this.inventoryId = inventoryId;
    }

    public Long getDepotId() {
        return depotId;
    }

    public void setDepotId(Long depotId) {
        this.depotId = depotId;
    }

    public Double getBeforeNum() {
        return beforeNum;
    }

    public void setBeforeNum(Double beforeNum) {
        this.beforeNum = beforeNum;
    }

    public Double getAfterNum() {
        return afterNum;
    }

    public void setAfterNum(Double afterNum) {
        this.afterNum = afterNum;
    }

    public Long getDepotitemId() {
        return depotitemId;
    }

    public void setDepotitemId(Long depotitemId) {
        this.depotitemId = depotitemId;
    }

    public Integer getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(Integer auditStatus) {
        this.auditStatus = auditStatus;
    }

    public Date getAuditDate() {
        return auditDate;
    }

    public void setAuditDate(Date auditDate) {
        this.auditDate = auditDate;
    }

    public Long getAuditorId() {
        return auditorId;
    }

    public void setAuditorId(Long auditorId) {
        this.auditorId = auditorId;
    }

    public BigDecimal getBeforeMoney() {
        return beforeMoney;
    }

    public void setBeforeMoney(BigDecimal beforeMoney) {
        this.beforeMoney = beforeMoney;
    }

    public BigDecimal getAfterMoney() {
        return afterMoney;
    }

    public void setAfterMoney(BigDecimal afterMoney) {
        this.afterMoney = afterMoney;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Long getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }

    public String getPartName() {
        return partName;
    }

    public void setPartName(String partName) {
        this.partName = partName;
    }

    public String getAuditRemark() {
        return auditRemark;
    }

    public void setAuditRemark(String auditRemark) {
        this.auditRemark = auditRemark;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    @Override
    public String toString() {
        return "RyDepotRecordAudit{" +
                "id=" + id +
                ", inventoryId=" + inventoryId +
                ", depotId=" + depotId +
                ", beforeNum=" + beforeNum +
                ", afterNum=" + afterNum +
                ", depotitemId=" + depotitemId +
                ", auditStatus=" + auditStatus +
                ", auditDate=" + auditDate +
                ", auditorId=" + auditorId +
                ", beforeMoney=" + beforeMoney +
                ", afterMoney=" + afterMoney +
                ", createDate=" + createDate +
                ", creatorId=" + creatorId +
                ", partName='" + partName + '\'' +
                ", auditRemark='" + auditRemark + '\'' +
                ", remark='" + remark + '\'' +
                ", projectId=" + projectId +
                '}';
    }
}
